<?php

Route::group(['middleware' => ['web','auth:admin'], 'prefix' => 'hospital', 'namespace' => 'Modules\Hospital\Http\Controllers'], function()
{
    Route::get('/', 'HospitalController@index');
});

Route::group(['middleware' => ['web','auth:admin'], 'prefix' => 'hospital', 'namespace' => 'Modules\Hospital\Http\Controllers'], function()
{
    Route::resource('hospital','HospitalController');
});
